/**
 * Created by Administrator on 2017/11/2.
 */
import axios from 'axios';
// import {API_NEW_VERSION} from '../api';

var qs = require('qs');

let basePath = '/api/v2.0/admin/';

// 获取所有投诉建议
export const searchTicklings = params => {
  return axios.get(basePath + 'tickling_search/', {params: params});
};

export const confirmHandleTickling = (id, text) => {
  return axios.post(basePath + 'tickling_modify/', qs.stringify({id: id, text: text}));
};
